<div ng-controller="BalanceCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'充值'| translate}}</li>
        <li>{{'List'|translate}}
            <a href="#/balance/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right"> 
          
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
                <th>{{'title'|translate}}</th>
                <th>{{'活动内容'|translate}}</th>
                <th>{{'剩余时间'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in balance_activitys">
                <td>{{$index+1}}</td>
                <td>{{list.name}}</td>
                <td>充 <span style="color: #f00;">{{list.money}}</span> 元，送 <span style="color: #f00;">{{list.money_gift}}</span> 元</td>
                <td>{{list.diff_time?list.diff_time:'已结束'}}</td>
                <td>
                    <a href="#/balance/add?balance_activity_id={{list.balance_activity_id}}" class="sui-btn btn-primary"> {{'edit'|translate}} </a>

                    <button class="sui-btn btn-danger zhide" ng-click="balanceDelete(list.balance_activity_id)"> {{'delete'|translate}} </button>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getList(pageNo)"></pager>
    <!-- 分页end -->
</div>